<template>
  <div id="app">
    <my-header />
    <router-view />
    <my-footer />
  </div>
</template>
<script>
import MyFooter from "./components/my-footer.vue";
import MyHeader from "./components/my-header.vue";
export default {
  components: { MyHeader, MyFooter },
  data() {
    return {
      data: {
        _id: "62957bb7e6934a697d4329d3",
        name: "默永",
        token:
          "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYyOTU3YmI3ZTY5MzRhNjk3ZDQzMjlkMyJ9LCJpYXQiOjE2NTM5NjM3NTMsImV4cCI6MTAxNjUzOTYzNzUzfQ.sJSpJaj1yXIs1z4MlPDVy_3rosJc-gOBBi--W-7p0I4",
      },
    };
  },
  created() {
    // localStorage.setItem("username", JSON.stringify(this.data));
  },
};
</script>

